Kevin Ryde <user42 at zip.com.au>
authorGlenn Morris <rgm@gnu.org>
Tue, 8 Jan 2008 07:50:05 +0000 (07:50 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 8 Jan 2008 07:50:05 +0000 (07:50 +0000)
(compilation-error-regexp-alist-alist): For perl, allow "during global
destruction" at end.

lisp/progmodes/compile.el

index 89f01392978c873e3b5742264a1d3ac25471ffe1..1fd0074dd41b72a8f31b5c00a5784a54e233df76 100644 (file)
@@ -273,8 +273,12 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
 \\(?:,\\| in\\| of\\)? file \\(.*?\\):?$"
      3 1 2)
 
+    ;; "during global destruction": This comes out under "use
+    ;; warnings" in recent perl when breaking circular references
+    ;; during program or thread exit.
     (perl
-     " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\)" 1 2)
+     " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \
+during global destruction\\.$\\)" 1 2)
 
     (rxp
      "^\\(?:Error\\|Warnin\\(g\\)\\):.*\n.* line \\([0-9]+\\) char\